<?php
	require_once("../functions.php");
	
	connectToDb();
	
	if(!isset($_POST["id"])){
		die("No id indicated.");
	}
	
	$sql = "delete from project where id = " + $_POST["id"];
	
	mysql_query($sql) or die("deleteProject.php: " + mysql_error());
?>